package io.renren.modules.jsf.controller;

import io.renren.modules.jsf.config.AlipayConfig;
import io.renren.modules.jsf.entity.vo.PayVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@Controller
public class IndexController {

    @Autowired
    AlipayConfig alipayConfig;

    @GetMapping("index")
    public String indexx() {
        return "index";
    }

    @GetMapping("/return")
    public String returnUrl() {
        return "return";
    }
}
